create sequence of squares in c#

43

create sequence of squares in c# -

IEnumerable<int> squares = Enumerable.Range(4, 3).Select(x => x * x);

Comments

Submit
0 Comments